/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.

Copyright (c) 2023-present Kaleidos INC
*/

@import url("tools/typography.css");

:host {
  --padding-start: var(--spacing-4);
}

.label-error {
  @mixin font-small;

  color: var(--color-red80);
  display: flex;
  font-weight: var(--font-weight-regular);
  padding-inline-start: var(--padding-start);

  & .warning {
    aspect-ratio: 1/1;
    block-size: var(--spacing-16);
    inline-size: var(--spacing-16);
    margin-inline-end: var(--spacing-4);
  }

  &:last-child {
    margin-block-end: 0;
  }
}
